laravel blade check if request url matches

32

@if(Request::url() === 'your url here')
    // code
@endif

if (Request::is('admin/*'))
{
    // code
}

Comments

Submit
0 Comments